import Vue from 'vue'
import App from './App.vue'
Vue.config.productionTip = false

//elementUi
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/css/resetEl.css'
Vue.use(ElementUI);
// 路由
import router from './router/index'
import './router/permission.js'
// axios
import axios from 'axios'
Vue.prototype.axios = axios

// 接口请求
import apiRequest from './request/api.js'
Vue.prototype.$api = apiRequest;
// vuex
import store from './store/index'

new Vue({
    render: h => h(App),
    router,
    store
}).$mount('#app')